package com.cws.dto;

import java.util.List;

public class PageReq {
	
	private int pageNumber;
	
	private int pageSize;
	
	private List<Condition> conditions;
	
	private String orderBy;
	
	/** 自定义sql语句 */
	public String costomSql;

	public int getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public List<Condition> getConditions() {
		return conditions;
	}

	public void setConditions(List<Condition> conditions) {
		this.conditions = conditions;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public String getCostomSql() {
		return costomSql;
	}

	public void setCostomSql(String costomSql) {
		this.costomSql = costomSql;
	}

	@Override
	public String toString() {
		return "PageReq [pageNumber=" + pageNumber + ", pageSize=" + pageSize + ", conditions=" + conditions
				+ ", orderBy=" + orderBy + ", costomSql=" + costomSql + "]";
	}
}
